<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2017/7/7
 * Time: 11:10
 * Project name: PHPTEST
 * File name: 1.php
 * @copyright Copyright (c) 2016 ZRX Software LLC
 * @license https://github.com/zhangrxiang
 * @since 1.0.0
 */



echo ctype_alnum("a1$").PHP_EOL;
echo ctype_alnum("a1ewr").PHP_EOL;

echo ctype_alpha("wertyu").PHP_EOL;
echo ctype_alpha("wertyu1").PHP_EOL;

echo ctype_cntrl("\n\t").PHP_EOL;

echo ctype_digit("123").PHP_EOL;

echo ctype_lower("asdfghj").PHP_EOL;
echo ctype_lower("ASDFGHJ").PHP_EOL;

echo ctype_graph("fngskdgk").PHP_EOL;
echo ctype_graph("fngskdgk dfjkg").PHP_EOL;
echo ctype_graph("fngskdgk\t").PHP_EOL;


echo ctype_print("dfgs").PHP_EOL;
echo ctype_print("dfgs\n").PHP_EOL;

echo "---\n";
echo ctype_punct("@#$%^").PHP_EOL;

echo ctype_xdigit("0x123").PHP_EOL;
echo ctype_xdigit("0b123").PHP_EOL;